import java.awt.Color;
import java.awt.Dialog;
import java.awt.Font;
import java.awt.Frame;
import java.awt.GraphicsConfiguration;
import java.awt.Window;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;

import org.dyno.visual.swing.layouts.Constraints;
import org.dyno.visual.swing.layouts.GroupLayout;
import org.dyno.visual.swing.layouts.Leading;


//VS4E -- DO NOT REMOVE THIS LINE!
public class cruza extends JDialog {

	private static final long serialVersionUID = 1L;
	private JLabel jLabel0;
	private JLabel jLabel1;
	private JLabel jLabel2;
	private JLabel jLabel3;
	private JComboBox jComboBox0;
	private JComboBox jComboBox1;
	private JComboBox jComboBox2;
	private JButton jButton0;
	private JTextArea jTextArea0;
	private JScrollPane jScrollPane0;
	private JButton jButton1;
	private JComboBox jComboBox3;
	private static final String PREFERRED_LOOK_AND_FEEL = "javax.swing.plaf.metal.MetalLookAndFeel";
	public cruza(Window parent) {
		super(parent);
		initComponents();
	}

	public cruza(Dialog parent, String title, boolean modal,
			GraphicsConfiguration arg) {
		super(parent, title, modal, arg);
		initComponents();
	}

	public cruza(Dialog parent, String title, boolean modal) {
		super(parent, title, modal);
		initComponents();
	}

	public cruza(Dialog parent, String title) {
		super(parent, title);
		initComponents();
	}

	public cruza(Window parent, String title, ModalityType modalityType,
			GraphicsConfiguration arg) {
		super(parent, title, modalityType, arg);
		initComponents();
	}

	public cruza(Window parent, String title, ModalityType modalityType) {
		super(parent, title, modalityType);
		initComponents();
	}

	public cruza(Window parent, String title) {
		super(parent, title);
		initComponents();
	}

	public cruza(Window parent, ModalityType modalityType) {
		super(parent, modalityType);
		initComponents();
	}

	public cruza(Frame parent, String title) {
		super(parent, title);
		initComponents();
	}

	public cruza(Frame parent, boolean modal) {
		super(parent, modal);
		initComponents();
	}

	public cruza(Frame parent) {
		super(parent);
		initComponents();
	}

	public cruza() {
		initComponents();
	}

	public cruza(Dialog parent, boolean modal) {
		super(parent, modal);
		initComponents();
	}

	public cruza(Dialog parent) {
		super(parent);
		initComponents();
	}

	public cruza(Frame parent, String title, boolean modal,
			GraphicsConfiguration arg) {
		super(parent, title, modal, arg);
		initComponents();
	}

	public cruza(Frame parent, String title, boolean modal) {
		super(parent, title, modal);
		initComponents();
	}

	private void initComponents() {
		setFont(new Font("Dialog", Font.PLAIN, 12));
		setBackground(Color.white);
		setForeground(Color.black);
		setLayout(new GroupLayout());
		add(getJLabel0(), new Constraints(new Leading(12, 12, 12), new Leading(15, 10, 10)));
		add(getJLabel1(), new Constraints(new Leading(12, 12, 12), new Leading(51, 10, 10)));
		add(getJLabel2(), new Constraints(new Leading(12, 12, 12), new Leading(87, 10, 10)));
		add(getJLabel3(), new Constraints(new Leading(12, 12, 12), new Leading(121, 12, 12)));
		add(getJComboBox0(), new Constraints(new Leading(116, 10, 10), new Leading(11, 12, 12)));
		add(getJComboBox1(), new Constraints(new Leading(116, 12, 12), new Leading(49, 12, 12)));
		add(getJComboBox2(), new Constraints(new Leading(116, 12, 12), new Leading(85, 12, 12)));
		add(getJButton0(), new Constraints(new Leading(87, 12, 12), new Leading(157, 10, 10)));
		add(getJScrollPane0(), new Constraints(new Leading(192, 263, 10, 10), new Leading(11, 131, 12, 12)));
		add(getJComboBox3(), new Constraints(new Leading(116, 56, 12, 12), new Leading(117, 12, 12)));
		addMouseListener(new MouseAdapter() {
	
			public void mouseClicked(MouseEvent event) {
				mouseMouseClicked(event);
			}
		});
		setSize(482, 273);
	}

	private JComboBox getJComboBox3() {
		if (jComboBox3 == null) {
			jComboBox3 = new JComboBox();
			jComboBox3.setModel(new DefaultComboBoxModel(new Object[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" }));
			jComboBox3.setDoubleBuffered(false);
			jComboBox3.setBorder(null);
		}
		return jComboBox3;
	}

	private JScrollPane getJScrollPane0() {
		if (jScrollPane0 == null) {
			jScrollPane0 = new JScrollPane();
			jScrollPane0.setBorder(null);
			jScrollPane0.setViewportView(getJTextArea0());
		}
		return jScrollPane0;
	}

	private JTextArea getJTextArea0() {
		if (jTextArea0 == null) {
			jTextArea0 = new JTextArea();
			jTextArea0.setVisible(false);
			jTextArea0.setText("MASCOTAS QUE APARECERAN TRAS\nHACER CLICK EN BUSCAR");
		}
		return jTextArea0;
	}

	private JButton getJButton0() {
		if (jButton0 == null) {
			jButton0 = new JButton();
			jButton0.setText("Buscar");
		}
		return jButton0;
	}

	private JComboBox getJComboBox2() {
		if (jComboBox2 == null) {
			jComboBox2 = new JComboBox();
			jComboBox2.setModel(new DefaultComboBoxModel(new Object[] { "Sexo" }));
			jComboBox2.setDoubleBuffered(false);
			jComboBox2.setBorder(null);
		}
		return jComboBox2;
	}

	private JComboBox getJComboBox1() {
		if (jComboBox1 == null) {
			jComboBox1 = new JComboBox();
			jComboBox1.setModel(new DefaultComboBoxModel(new Object[] { "Raza" }));
			jComboBox1.setDoubleBuffered(false);
			jComboBox1.setBorder(null);
		}
		return jComboBox1;
	}

	private JComboBox getJComboBox0() {
		if (jComboBox0 == null) {
			jComboBox0 = new JComboBox();
			jComboBox0.setModel(new DefaultComboBoxModel(new Object[] { "Tipo" }));
			jComboBox0.setDoubleBuffered(false);
			jComboBox0.setBorder(null);
		}
		return jComboBox0;
	}

	private JLabel getJLabel3() {
		if (jLabel3 == null) {
			jLabel3 = new JLabel();
			jLabel3.setText("Edad Mascota");
		}
		return jLabel3;
	}

	private JLabel getJLabel2() {
		if (jLabel2 == null) {
			jLabel2 = new JLabel();
			jLabel2.setText("Sexo Mascota");
		}
		return jLabel2;
	}

	private JLabel getJLabel1() {
		if (jLabel1 == null) {
			jLabel1 = new JLabel();
			jLabel1.setText("Raza Mascota");
		}
		return jLabel1;
	}

	private JLabel getJLabel0() {
		if (jLabel0 == null) {
			jLabel0 = new JLabel();
			jLabel0.setText("Tipo Mascota");
		}
		return jLabel0;
	}

	private static void installLnF() {
		try {
			String lnfClassname = PREFERRED_LOOK_AND_FEEL;
			if (lnfClassname == null)
				lnfClassname = UIManager.getCrossPlatformLookAndFeelClassName();
			UIManager.setLookAndFeel(lnfClassname);
		} catch (Exception e) {
			System.err.println("Cannot install " + PREFERRED_LOOK_AND_FEEL
					+ " on this platform:" + e.getMessage());
		}
	}

	/**
	 * Main entry of the class.
	 * Note: This class is only created so that you can easily preview the result at runtime.
	 * It is not expected to be managed by the designer.
	 * You can modify it as you like.
	 */
	public static void main(String[] args) {
		installLnF();
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				cruza dialog = new cruza();
				dialog.setDefaultCloseOperation(cruza.DISPOSE_ON_CLOSE);
				dialog.setTitle("cruza");
				dialog.setLocationRelativeTo(null);
				dialog.getContentPane().setPreferredSize(dialog.getSize());
				dialog.pack();
				dialog.setVisible(true);
			}
		});
	}

	private void mouseMouseClicked(MouseEvent event) {
		System.out.println("eee");
		jTextArea0.setVisible(true);
		System.out.println("aaa");
	}

}
